//
//  XYLHHPaoPaoView.h
//  XYLBaiduMap2017
//
//  Created by 夏玉林 on 17/2/16.
//  Copyright © 2017年 夏玉林. All rights reserved.
//

#import "BaseView.h"

static CGFloat kPaopaoTitleMaxLength = 220;

static CGFloat kPaopaoTitleMinLength = 80;

typedef void (^SendNaviRequest)(void);

@interface XYLHHPaoPaoView : BaseView

// 背景图片
@property (nonatomic, strong) UIImageView *leftImageView;

@property (nonatomic, strong) UIImageView *rightImageView;

@property (nonatomic, strong) UIImageView *iconImageView;

@property (nonatomic, copy) SendNaviRequest sendNaviRequest;

// 添加尖角图片
- (void)addConner:(CGRect)rect;
// 泡泡上的Label
- (UILabel *)paopaoWithTitle:(NSString *)title subtitle:(NSString *)subtitle;
// 添加navi按键
- (void)addNaviButton:(CGRect)rect;

@end
